package com.xpgk.mvc.setAnnounce;

import java.util.List;

import com.xpgk.mvc.base.BaseController;
import com.xpgk.mvc.organization.Organization;
import com.xpgk.mvc.organizationLevel.OrganLevel;

public class SetAnnouceController extends BaseController {

	public void index() {
		List<OrganLevel> levels = OrganLevel.dao
				.getLevelsByLevel(Organization.dao.findById(getCUserOrganIds()).getBigDecimal(Organization.column_level).intValue());
		setAttr("curUser", getCUser());
		setAttr("levels", levels);
		render("setAnnounce.html");
	}
}
